<template>
  <div class="">
    <!-- 删除提示 -->
    <PageDialog :title="'删除'" :dialog-visible="visible" :width="`${$f * 600}px`" @close="closeDialog" @submit="submit">
      <div class="pub_tips">确定要{{ multipleSelection.length === 0 ? '' : '批量' }}删除吗？此操作不可逆</div>
    </PageDialog>
  </div>
</template>
<script>
import PageDialog from '@/components/PageDialog/index.vue';
export default {
  components: { PageDialog },
  props: {
    multipleSelection: {
      type: Array,
      default: () => []
    },
    visible: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {};
  },
  mounted() {},
  methods: {
    closeDialog() {
      this.$emit('close');
    },
    submit() {
      this.$emit('submit');
    }
  }
};
</script>
<style lang="less" scoped></style>
